package com.zmn.plat.services.interfaces.log;

import java.util.List;

import com.zmn.plat.model.entity.log.SysLog;
import com.zmn.plat.model.entity.log.SysLogQuery;

/**
 * @author nowind
 * @since 17/09/20 19:18
 */
public interface SysLogService {

    SysLog findByKey(Integer logId);

    List<SysLog> listPageByQuery(SysLogQuery query);

    Integer countByQuery(SysLogQuery query);

    /**
     * 写入系统日志 使用add命名,防止被系统日志aop拦截
     */
    Integer add(SysLog sysLog);

}
